package com.oig.sys.auth.dao;

import com.oig.sys.auth.entity.TbOpenUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author wuxl
 */
public interface ITbOpenUserDao extends JpaRepository<TbOpenUser, Integer> {

	TbOpenUser getByUserIdAndOpenAuthId(Integer userId, Integer openAuthId);


	TbOpenUser getByUserId(Integer userId);

}
